package org.xinhe.eosc.simple.service.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>Title: FooCloudService</p>
 * <p>Date: 17/5/11 </p>
 * <p>Description: </p>
 *
 * @author sunxinhe
 */
@FeignClient("simple-service")
public interface FooCloudService {

    @RequestMapping(value = "/foo/a", method = RequestMethod.GET)
    String a(
            @RequestParam(name = "arg", required = false) String arg
    );

}
